<?php

namespace QingSen;

use QingSen\gridfs\GridFileService;
use QingSen\message\MessageService;

$meta = GridFileService::upload([])->image();

$meta = GridFileService::upload([])->imageCrop(120, 80);

// 添加聊天账号
$response = MessageService::user('key', 'secret')->add('索引号', '昵称', '头像');

// 删除聊天账号
$response = MessageService::user('key', 'secret')->del('索引号');
